ListToJObjectArray
Type
handler
Summary
Convert a List of JObjects into a JObjectArray
Syntax
ListToJObjectArray(<pList>,<pClass>)
Description
Use ListToJObjectArray to convert pList where each element is a JObject into a JObjectArray. Note all elements of pList must conform to the class pClass.
Parameters
Name | Type | Description |
---|---|---|
pList | The List to convert | |
pClass | The class name of the JObjects in the List |
Examples
variable tArray as JObjectArray
put ListToJObjectArray(\
[StringToJString("foo"), StringToJString("bar")], \
"java/lang/String") into tArray